package cn.forge.mall.framework.common.exception;

import lombok.Data;

/**
 * @author liangyuanping
 * @ClassName ErrorCode
 * @description: 错误对象
 * @date 2024年03月20日
 * @version: 1.0
 */
@Data
public class ErrorCode {

    private Integer code;

    private String msg;

    public ErrorCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
